import { normalizeContainer } from '../../../../../../../../../../../global';
import { get_keyVal_node_id } from '../../../../../../../../../../../global/element/form_table/keyVal_node/Func';
import {
  spacename_tag_title,
  title_writable_area_id,
} from '../DataDefine/sourceData';

const tag_title_staticNodeTag = 'tag_title_staticNode';

class tag_title_staticNode {
  get [Symbol.toStringTag]() {
    return tag_title_staticNodeTag;
  }

  constructor(props) {
    this.props = props;

    this.dom_title_writable_area = normalizeContainer(title_writable_area_id);

    this.dom_keyVal_node = normalizeContainer(
      get_keyVal_node_id(spacename_tag_title)
    );
  }

  /**
   * 名 编辑区
   */
  dom_title_writable_area;

  /**
   * 值 存储 元素
   * @type {HTMLInputElement}
   */
  dom_keyVal_node;
}

export { tag_title_staticNode };
